from django.urls import path,re_path
# 导入 myapp 应用的 views 文件
from . import views
from . import login
from . import user
# from django.conf.urls import url, include
# from myapp.views import add_book,show_books
# add_book

urlpatterns = [
    # 登录
    re_path(r'login$', login.login),
    # 注册
    re_path(r'register$', login.register),

    re_path(r'getMethodName$', views.getMethodName),
    # 集结页面
    re_path(r'getMethodName$', views.getMethodName),
    re_path(r'singleAggregate$', views.singleAggregate),
    re_path(r'multipleAggregate$', views.multipleAggregate),
    re_path(r'directAggregate$', views.directAggregate),
    # 上传excel
    re_path(r'excel$', views.excel),


    # 返回用户信息
    re_path(r'getUserList$', user.getUserList),
    # 删除用户
    re_path(r'handleDelete$', user.handleDelete),
    # 修改用户信息
    re_path(r'handleEdit$', user.handleEdit),
    # 获取个人信息
    re_path(r'getPersonalInf$', user.getPersonalInf),
    # 修改个人信息
    re_path(r'editPersonalInf$', user.editPersonalInf),
]